cmake_minimum_required(VERSION 2.6)

project(testopencv)

set(CMAKE_CXX_FLAGS "-std=c++11")

find_package(OpenCV 3.2.0 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(udp_send udp_send.cpp)
target_link_libraries(udp_send ${OpenCV_LIBS})
add_executable(udp_recv udp_recv.cpp)
target_link_libraries(udp_recv ${OpenCV_LIBS})
add_executable(udp_send_kuazhuji udp_send_kuazhuji.cpp)
target_link_libraries(udp_send_kuazhuji ${OpenCV_LIBS})
add_executable(udp_send_imu udp_send_imu.cpp)
target_link_libraries(udp_send_imu ${OpenCV_LIBS})
